<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文本插值</title>
</head>
<body>
    <div id="div">
        <div v-html="name"></div>
        <a :href="url">美女网站</a>
        <div v-show="flag">想得美哦</div>

        <ul>
            <li v-for="name in names">
              {{name}}
            </li>
        </ul>
    </div>
</body>
    <script src="../js/vue.js"></script>
    <script>
        new Vue({
          el:"#div",
          data:{
              name:"<b>张三</b>",
              url:"https://www.bilibili.com/",
              flag:false,
              names:["阿弥陀","啊啊事情"]
          }
        });
    </script>
</html>